package com.example.shixunandjavagotoyangchen.BoosYang.Day002.Day002_11013;

import com.example.modelviewpresenter.Presenter.BasterPresenter;
import com.example.shixunandjavagotoyangchen.BoosYang.Day002.Day002_11012.ChaotongBean;
import com.example.shixunandjavagotoyangchen.BoosYang.Day002.Day002_11012.ChaotongCallback;
import com.example.shixunandjavagotoyangchen.BoosYang.Day002.Day002_11012.ChaotongContion;

import java.util.List;

/**
 * 作者:二徒
 * 时间：2021/11/2- 15:24
 * 功能实现：
 */
public class GoodthingPresenter extends BasterPresenter<GoodthingContion.vier,GoodthingContion.moder> {


    public GoodthingPresenter(GoodthingContion.vier iew, GoodthingContion.moder asd) {
        super(iew, asd);
    }

    public void goodting(String name){
        asd.getmoder(name, new GoodthingCallback() {
            @Override
            public void suees(List<GoodthingBean.ShujuBean> dataBeans) {
                iew.getvier(dataBeans);
            }
        });
    }
}
